package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.TeachplanDTO;
import com.xuecheng.api.content.model.vo.TeachplanVO;
import com.xuecheng.api.media.model.dto.TeachplanMediaDTO;
import com.xuecheng.api.media.model.vo.BindTeachplanMediaVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;


/**
 * 课程计划数据操作
 */
@Api(value = "课程计划数据管理")
public interface TeachplanApi {

    @ApiOperation(value = "查询课程计划数据")
    @ApiImplicitParam(name = "courseId",value = "课程id",required = true,dataType = "Long",paramType = "path")
    TeachplanDTO queryTeachplan(Long courseId);

    @ApiOperation(value = "修改或创建课程计划")
    @ApiImplicitParam(name = "TeachplanVo" ,value = "封装前端数据的实体类",required = true,dataType = "TeachplanVo",paramType = "body")
    TeachplanDTO createdOrModifyById(TeachplanVO teachplanVO);


    @ApiOperation("课程计划绑定媒资信息")
    TeachplanMediaDTO associateMedia(BindTeachplanMediaVO vo);


}
